/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sinocloud.springmvc.demo.dao;

import com.sinocloud.springmvc.demo.model.User;
import java.util.List;

/**
 *
 * @author zhaoyuan
 */
public interface UserDao {

    public User queryById(String id);

    public List<User> queryByName(String name);

    public boolean update(User user);

    public boolean insert(User user);
    
}
